package ytdp.careagle.com.ytdp.mvp.mode;

import android.content.Context;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import ytdp.careagle.com.ytdp.net.MyObserver;
import ytdp.careagle.com.ytdp.net.NetWorks;
import ytdp.careagle.com.ytdp.net.Results;

/**
 * Created by admin on 2017/10/11.
 */

public class FinancialProgramModel {
    public void getVehicleModelParams(Context context, Map<String, String> header, String codes, boolean all, MyObserver<Results<List<String>>> myObserver) {
        HashMap<String, String> map = new HashMap<>();
        map.put("modelCodes", codes);
        map.put("all", "" + all);
        NetWorks.getInstance().getVehicleModelParams(context, header, map, myObserver);
    }
}
